package dataStructures;

import utils.MyLogger;

public abstract class LoggedDast {

	protected MyLogger _logger = null;
	
	public void AttachLogger(MyLogger logger)
	{
		_logger = logger;
	}
	
	protected void AddLogEntry(String entry)
	{
		if (_logger != null)
		{
			_logger.AddEntry(entry);
		}
	}
	
	
}
